package com.jasonkurtzman.adv.Tile;

import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class StoneTile extends Tile{
	
	int x, y;
	
	public StoneTile(int x, int y)
	{
		this.x = x;
		this.y = y;
	}
	
	public void render(Graphics g) 
	{
		Image image = null;
		try {
			image = ImageIO.read(new File("res/Stone.png"));
		} catch (IOException e) {
			e.printStackTrace();
		}
		g.drawImage(image, x, y, null);
		//g.fillRect(x, y, TILE_SIZE, TILE_SIZE);
	}

	public void tick() 
	{
		
	}

	public int getTileID() 
	{
		return 2;
	}

}
